package com.alm.handle.service.impl;

import com.alm.handle.core.domain.entity.SysDevCurrentData;
import com.alm.handle.core.domain.entity.SysDevHistoryInfo;
import com.alm.handle.mapper.SysDevCurrentDataMapper;
import com.alm.handle.mapper.SysDevHistoryInfoMapper;
import com.alm.handle.service.ISysDevInfoHomeService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysDevInfoHomeServiceImpl implements ISysDevInfoHomeService {

    @Autowired
    private SysDevCurrentDataMapper devCurrentDataMapper;

    @Override
    public SysDevCurrentData findDevInfoByMac(String devId) {
        return devCurrentDataMapper.selectById(devId);
    }
}
